package com.sxfq.gds.backweb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * Created by Administrator on 2017/7/16.
 */


@SpringBootApplication
@EnableAutoConfiguration
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.sxfq.gds.api", "com.sxfq.gds.backweb"})
@EnableHystrix
@EnableHystrixDashboard
public class backwebApplication {

    public static void main(String[] args) {
        SpringApplication.run(backwebApplication.class);
    }
}
